package cn.doublefloat.crm.project.customer.domain;
/**
 * 销售机会实体类
 */

import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

public class SalesChance {
    private Integer id; //id
    private String customerName;//客户名称
    private String title;//概要
    private String contact;//联系人
    private String contactTel;//联系人电话
    private Integer createBy;//创建人
    @DateTimeFormat(pattern = "YYYY-MM-dd")
    private Date createDate;//创建时间
    private Integer designee;//指派人（用户ID）
    private String description;//机会描述
    private Character status;//状态(0.未分配1.已分配)
    @DateTimeFormat(pattern = "YYYY-MM-dd")
    private Date designeeDate;//指派时间

    @Override
    public String toString() {
        return "SalesChance{" +
                "id=" + id +
                ", customer_name='" + customerName + '\'' +
                ", title='" + title + '\'' +
                ", contact='" + contact + '\'' +
                ", contact_tel='" + contactTel + '\'' +
                ", create_by=" + createBy +
                ", create_date=" + createDate +
                ", designee=" + designee +
                ", description='" + description + '\'' +
                ", status=" + status +
                ", designee_date=" + designeeDate +
                '}';
    }

    /*get和set方法*/

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getDesignee() {
        return designee;
    }

    public void setDesignee(Integer designee) {
        this.designee = designee;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Character getStatus() {
        return status;
    }

    public void setStatus(Character status) {
        this.status = status;
    }

    public Date getDesigneeDate() {
        return designeeDate;
    }

    public void setDesigneeDate(Date designeeDate) {
        this.designeeDate = designeeDate;
    }
}

